﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.RbacData.ErrorCode
{
    /// <summary>
    /// API分页结果类，继承自ApiResult类，用于返回分页数据
    /// </summary>
    /// <typeparam name="T">分页数据的类型</typeparam>
    public class ApiPaging<T> : ApiResult<T>
    {
        /// <summary>
        /// 数据总数量
        /// </summary>
        public int TotalCount { get; set; }

        /// <summary>
        /// 总页数
        /// </summary>
        public int PageCount { get; set; }

        /// <summary>
        /// 当前页的数据列表
        /// </summary>
        public List<T> PageData { get; set; }
    }
}
